package com.zhss.springbootdemo01.dao;

import com.zhss.springbootdemo01.domain.User;

import java.util.List;

/**
 * @ClassName UserDAO
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/2/6 18:08
 * @Version 1.0
 */
public interface UserDAO {

	List<User> listUsers();

	User getUserById(Long userId);

	void saveUser(User user);

	void updateUser(User user);

	void removeUser(Long userId);
}
